const runtime.pagesPerArena
20 uses
runtime (current package)
malloc.go#L260: pagesPerArena = heapArenaBytes / pageSize
malloc.go#L421: if pagesPerArena%pagesPerSpanRoot != 0 {
malloc.go#L422: print("pagesPerArena (", pagesPerArena, ") is not divisible by pagesPerSpanRoot (", pagesPerSpanRoot, ")\n")
malloc.go#L425: if pagesPerArena%pagesPerReclaimerChunk != 0 {
malloc.go#L426: print("pagesPerArena (", pagesPerArena, ") is not divisible by pagesPerReclaimerChunk (", pagesPerReclaimerChunk, ")\n")
mgcmark.go#L97: work.nSpanRoots = len(mheap_.markArenas) * (pagesPerArena / pagesPerSpanRoot)
mgcmark.go#L336: ai := mheap_.markArenas[shard/(pagesPerArena/pagesPerSpanRoot)]
mgcmark.go#L338: arenaPage := uint(uintptr(shard) * pagesPerSpanRoot % pagesPerArena)
mheap.go#L269: spans [pagesPerArena]*mspan
mheap.go#L277: pageInUse [pagesPerArena / 8]uint8
mheap.go#L292: pageMarks [pagesPerArena / 8]uint8
mheap.go#L302: pageSpecials [pagesPerArena / 8]uint8
mheap.go#L708: return ha.spans[(p/pageSize)%pagesPerArena]
mheap.go#L719: return mheap_.arenas[ai.l1()][ai.l2()].spans[(p/pageSize)%pagesPerArena]
mheap.go#L826: if idx/pagesPerArena >= uintptr(len(arenas)) {
mheap.go#L879: ai := arenas[pageIdx/pagesPerArena]
mheap.go#L883: arenaPage := uint(pageIdx % pagesPerArena)
mheap.go#L1004: i := (p + n) % pagesPerArena
mheap.go#L1818: arenaPage := (s.base() / pageSize) % pagesPerArena
mheap.go#L1826: arenaPage := (s.base() / pageSize) % pagesPerArena
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |